\hypertarget{class_q_c_p_bars_group}{}\section{Q\+C\+P\+Bars\+Group Class Reference}
\label{class_q_c_p_bars_group}\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}


Groups multiple \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} together so they appear side by side.  


Inheritance diagram for Q\+C\+P\+Bars\+Group\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_q_c_p_bars_group}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Spacing\+Type}} \{ \mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ab53fa3efaf14867dd0f14d41d64e42ac}{st\+Absolute}}, 
\mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ae94b05c27bc985dcdd8b1e1b7f163d26}{st\+Axis\+Rect\+Ratio}}, 
\mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ad369cee6287e0a86e8c2b643a3168c54}{st\+Plot\+Coords}}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_q_c_p_bars_group_aa4e043b9a22c6c5ea0f93740aca063e1}{Q\+C\+P\+Bars\+Group}} (\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$parent\+Plot)
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a894a77c45325aad2e742d936bc1f8aea}\label{class_q_c_p_bars_group_a894a77c45325aad2e742d936bc1f8aea}} 
\mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Spacing\+Type}} {\bfseries spacing\+Type} () const
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a314d09aeb2ad209518b9183ca7ffe662}\label{class_q_c_p_bars_group_a314d09aeb2ad209518b9183ca7ffe662}} 
double {\bfseries spacing} () const
\item 
void \mbox{\hyperlink{class_q_c_p_bars_group_a2c7e2d61b10594a4555b615e1fcaf49e}{set\+Spacing\+Type}} (\mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Spacing\+Type}} spacing\+Type)
\item 
void \mbox{\hyperlink{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}{set\+Spacing}} (double spacing)
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}} () const
\item 
\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$ \mbox{\hyperlink{class_q_c_p_bars_group_a0754d659a020aa7fddfe81e657ce2d92}{bars}} (int index) const
\item 
int \mbox{\hyperlink{class_q_c_p_bars_group_a3780ec77919cb00840207ec7a0f00dd5}{size}} () const
\item 
bool \mbox{\hyperlink{class_q_c_p_bars_group_aac959e79e852e8ef9aea6e0449ad000a}{is\+Empty}} () const
\item 
void \mbox{\hyperlink{class_q_c_p_bars_group_a3ddf23928c6cd89530bd34ab7ba7b177}{clear}} ()
\item 
bool \mbox{\hyperlink{class_q_c_p_bars_group_ae26da07a23553052a178fb3fae90d0dc}{contains}} (\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}}) const
\item 
void \mbox{\hyperlink{class_q_c_p_bars_group_a809ed63cc4ff7cd5b0b8c96b470163d3}{append}} (\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}})
\item 
void \mbox{\hyperlink{class_q_c_p_bars_group_a309a5f7233db189f3ea9c2d04ece6c13}{insert}} (int i, \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}})
\item 
void \mbox{\hyperlink{class_q_c_p_bars_group_a215e28a5944f1159013a0e19169220e7}{remove}} (\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}})
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a7b00514f19ad58d0bb3fd5246a67fae2}\label{class_q_c_p_bars_group_a7b00514f19ad58d0bb3fd5246a67fae2}} 
void {\bfseries register\+Bars} (\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}})
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_ac7073cdd7b1a40c6cb4b5f908145f8c4}\label{class_q_c_p_bars_group_ac7073cdd7b1a40c6cb4b5f908145f8c4}} 
void {\bfseries unregister\+Bars} (\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}})
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a8e2ca6002e7bab49670144d048a2bcc9}\label{class_q_c_p_bars_group_a8e2ca6002e7bab49670144d048a2bcc9}} 
double {\bfseries key\+Pixel\+Offset} (const \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}}, double key\+Coord)
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a0beccd41bc3841a4c5b284823bc7d2de}\label{class_q_c_p_bars_group_a0beccd41bc3841a4c5b284823bc7d2de}} 
double {\bfseries get\+Pixel\+Spacing} (const \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars}}, double key\+Coord)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a973d408cfbf88db95115aec71877f9e7}\label{class_q_c_p_bars_group_a973d408cfbf88db95115aec71877f9e7}} 
\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$ {\bfseries m\+Parent\+Plot}
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a6794ee1a9c81864d627bff6a4b2d64ec}\label{class_q_c_p_bars_group_a6794ee1a9c81864d627bff6a4b2d64ec}} 
\mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Spacing\+Type}} {\bfseries m\+Spacing\+Type}
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a56471d7f548ca6141b7a5bf9629f7ece}\label{class_q_c_p_bars_group_a56471d7f548ca6141b7a5bf9629f7ece}} 
double {\bfseries m\+Spacing}
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_affdb1e9233c277ff5a4c0a1121cf1fc0}\label{class_q_c_p_bars_group_affdb1e9233c277ff5a4c0a1121cf1fc0}} 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$ $>$ {\bfseries m\+Bars}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_bars_group_a721b87c7cdb8e83a90d77fc8a22e7195}\label{class_q_c_p_bars_group_a721b87c7cdb8e83a90d77fc8a22e7195}} 
class {\bfseries Q\+C\+P\+Bars}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Groups multiple \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} together so they appear side by side. 



When showing multiple \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} in one plot which have bars at identical keys, it may be desirable to have them appearing next to each other at each key. This is what adding the respective \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} plottables to a \mbox{\hyperlink{class_q_c_p_bars_group}{Q\+C\+P\+Bars\+Group}} achieves. (An alternative approach is to stack them on top of each other, see \mbox{\hyperlink{class_q_c_p_bars_ac22e00a6a41509538c21b04f0a57318c}{Q\+C\+P\+Bars\+::move\+Above}}.)\hypertarget{class_q_c_p_bars_group_qcpbarsgroup-usage}{}\subsection{Usage}\label{class_q_c_p_bars_group_qcpbarsgroup-usage}
To add a \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} plottable to the group, create a new group and then add the respective bars intances\+: 
\begin{DoxyCodeInclude}
\end{DoxyCodeInclude}
Alternatively to appending to the group like shown above, you can also set the group on the \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} plottable via \mbox{\hyperlink{class_q_c_p_bars_aedd1709061f0b307c47ddb45e172ef9a}{Q\+C\+P\+Bars\+::set\+Bars\+Group}}.

The spacing between the bars can be configured via \mbox{\hyperlink{class_q_c_p_bars_group_a2c7e2d61b10594a4555b615e1fcaf49e}{set\+Spacing\+Type}} and \mbox{\hyperlink{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}{set\+Spacing}}. The bars in this group appear in the plot in the order they were appended. To insert a bars plottable at a certain index position, or to reposition a bars plottable which is already in the group, use \mbox{\hyperlink{class_q_c_p_bars_group_a309a5f7233db189f3ea9c2d04ece6c13}{insert}}.

To remove specific bars from the group, use either \mbox{\hyperlink{class_q_c_p_bars_group_a215e28a5944f1159013a0e19169220e7}{remove}} or call \mbox{\hyperlink{class_q_c_p_bars_aedd1709061f0b307c47ddb45e172ef9a}{Q\+C\+P\+Bars\+:\+:set\+Bars\+Group(0)}} on the respective bars plottable.

To clear the entire group, call \mbox{\hyperlink{class_q_c_p_bars_group_a3ddf23928c6cd89530bd34ab7ba7b177}{clear}}, or simply delete the group.\hypertarget{class_q_c_p_bars_group_qcpbarsgroup-example}{}\subsection{Example}\label{class_q_c_p_bars_group_qcpbarsgroup-example}
The image above is generated with the following code\+: 
\begin{DoxyCodeInclude}
\end{DoxyCodeInclude}


\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}\label{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!Spacing\+Type@{Spacing\+Type}}
\index{Spacing\+Type@{Spacing\+Type}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{Spacing\+Type}{SpacingType}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Q\+C\+P\+Bars\+Group\+::\+Spacing\+Type}}}

Defines the ways the spacing between bars in the group can be specified. Thus it defines what the number passed to \mbox{\hyperlink{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}{set\+Spacing}} actually means.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_a2c7e2d61b10594a4555b615e1fcaf49e}{set\+Spacing\+Type}}, \mbox{\hyperlink{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}{set\+Spacing}} 
\end{DoxySeeAlso}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{st\+Absolute@{st\+Absolute}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!st\+Absolute@{st\+Absolute}}}\mbox{\Hypertarget{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ab53fa3efaf14867dd0f14d41d64e42ac}\label{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ab53fa3efaf14867dd0f14d41d64e42ac}} 
st\+Absolute&Bar spacing is in absolute pixels. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{st\+Axis\+Rect\+Ratio@{st\+Axis\+Rect\+Ratio}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!st\+Axis\+Rect\+Ratio@{st\+Axis\+Rect\+Ratio}}}\mbox{\Hypertarget{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ae94b05c27bc985dcdd8b1e1b7f163d26}\label{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ae94b05c27bc985dcdd8b1e1b7f163d26}} 
st\+Axis\+Rect\+Ratio&Bar spacing is given by a fraction of the axis rect size. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{st\+Plot\+Coords@{st\+Plot\+Coords}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!st\+Plot\+Coords@{st\+Plot\+Coords}}}\mbox{\Hypertarget{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ad369cee6287e0a86e8c2b643a3168c54}\label{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6ad369cee6287e0a86e8c2b643a3168c54}} 
st\+Plot\+Coords&Bar spacing is in key coordinates and thus scales with the key axis range. \\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_q_c_p_bars_group_aa4e043b9a22c6c5ea0f93740aca063e1}\label{class_q_c_p_bars_group_aa4e043b9a22c6c5ea0f93740aca063e1}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{Q\+C\+P\+Bars\+Group()}{QCPBarsGroup()}}
{\footnotesize\ttfamily Q\+C\+P\+Bars\+Group\+::\+Q\+C\+P\+Bars\+Group (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$}]{parent\+Plot }\end{DoxyParamCaption})}

Constructs a new bars group for the specified \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} instance. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_c_p_bars_group_a809ed63cc4ff7cd5b0b8c96b470163d3}\label{class_q_c_p_bars_group_a809ed63cc4ff7cd5b0b8c96b470163d3}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!append@{append}}
\index{append@{append}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{append()}{append()}}
{\footnotesize\ttfamily void Q\+C\+P\+Bars\+Group\+::append (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$}]{bars }\end{DoxyParamCaption})}

Adds the specified {\itshape bars} plottable to this group. Alternatively, you can also use \mbox{\hyperlink{class_q_c_p_bars_aedd1709061f0b307c47ddb45e172ef9a}{Q\+C\+P\+Bars\+::set\+Bars\+Group}} on the {\itshape bars} instance.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_a309a5f7233db189f3ea9c2d04ece6c13}{insert}}, \mbox{\hyperlink{class_q_c_p_bars_group_a215e28a5944f1159013a0e19169220e7}{remove}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}\label{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!bars@{bars}}
\index{bars@{bars}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{bars()}{bars()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$ $>$ Q\+C\+P\+Bars\+Group\+::bars (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns all bars currently in this group.

\begin{DoxySeeAlso}{See also}
bars(int index) 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_a0754d659a020aa7fddfe81e657ce2d92}\label{class_q_c_p_bars_group_a0754d659a020aa7fddfe81e657ce2d92}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!bars@{bars}}
\index{bars@{bars}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{bars()}{bars()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$ Q\+C\+P\+Bars\+Group\+::bars (\begin{DoxyParamCaption}\item[{int}]{index }\end{DoxyParamCaption}) const}

Returns the \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} instance with the specified {\itshape index} in this group. If no such \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} exists, returns 0.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_a6e4f4e86abbec6a9342f204ef82abef8}{bars()}}, \mbox{\hyperlink{class_q_c_p_bars_group_a3780ec77919cb00840207ec7a0f00dd5}{size}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_a3ddf23928c6cd89530bd34ab7ba7b177}\label{class_q_c_p_bars_group_a3ddf23928c6cd89530bd34ab7ba7b177}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!clear@{clear}}
\index{clear@{clear}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily void Q\+C\+P\+Bars\+Group\+::clear (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Removes all \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} plottables from this group.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_aac959e79e852e8ef9aea6e0449ad000a}{is\+Empty}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_ae26da07a23553052a178fb3fae90d0dc}\label{class_q_c_p_bars_group_ae26da07a23553052a178fb3fae90d0dc}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!contains@{contains}}
\index{contains@{contains}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{contains()}{contains()}}
{\footnotesize\ttfamily bool Q\+C\+P\+Bars\+Group\+::contains (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$}]{bars }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns whether the specified {\itshape bars} plottable is part of this group. \mbox{\Hypertarget{class_q_c_p_bars_group_a309a5f7233db189f3ea9c2d04ece6c13}\label{class_q_c_p_bars_group_a309a5f7233db189f3ea9c2d04ece6c13}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!insert@{insert}}
\index{insert@{insert}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{insert()}{insert()}}
{\footnotesize\ttfamily void Q\+C\+P\+Bars\+Group\+::insert (\begin{DoxyParamCaption}\item[{int}]{i,  }\item[{\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$}]{bars }\end{DoxyParamCaption})}

Inserts the specified {\itshape bars} plottable into this group at the specified index position {\itshape i}. This gives you full control over the ordering of the bars.

{\itshape bars} may already be part of this group. In that case, {\itshape bars} is just moved to the new index position.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_a809ed63cc4ff7cd5b0b8c96b470163d3}{append}}, \mbox{\hyperlink{class_q_c_p_bars_group_a215e28a5944f1159013a0e19169220e7}{remove}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_aac959e79e852e8ef9aea6e0449ad000a}\label{class_q_c_p_bars_group_aac959e79e852e8ef9aea6e0449ad000a}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!is\+Empty@{is\+Empty}}
\index{is\+Empty@{is\+Empty}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{is\+Empty()}{isEmpty()}}
{\footnotesize\ttfamily bool Q\+C\+P\+Bars\+Group\+::is\+Empty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns whether this bars group is empty.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_a3780ec77919cb00840207ec7a0f00dd5}{size}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_a215e28a5944f1159013a0e19169220e7}\label{class_q_c_p_bars_group_a215e28a5944f1159013a0e19169220e7}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!remove@{remove}}
\index{remove@{remove}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{remove()}{remove()}}
{\footnotesize\ttfamily void Q\+C\+P\+Bars\+Group\+::remove (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} $\ast$}]{bars }\end{DoxyParamCaption})}

Removes the specified {\itshape bars} plottable from this group.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_ae26da07a23553052a178fb3fae90d0dc}{contains}}, \mbox{\hyperlink{class_q_c_p_bars_group_a3ddf23928c6cd89530bd34ab7ba7b177}{clear}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}\label{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!set\+Spacing@{set\+Spacing}}
\index{set\+Spacing@{set\+Spacing}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{set\+Spacing()}{setSpacing()}}
{\footnotesize\ttfamily void Q\+C\+P\+Bars\+Group\+::set\+Spacing (\begin{DoxyParamCaption}\item[{double}]{spacing }\end{DoxyParamCaption})}

Sets the spacing between adjacent bars. What the number passed as {\itshape spacing} actually means, is defined by the current \mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Spacing\+Type}}, which can be set with \mbox{\hyperlink{class_q_c_p_bars_group_a2c7e2d61b10594a4555b615e1fcaf49e}{set\+Spacing\+Type}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_a2c7e2d61b10594a4555b615e1fcaf49e}{set\+Spacing\+Type}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_a2c7e2d61b10594a4555b615e1fcaf49e}\label{class_q_c_p_bars_group_a2c7e2d61b10594a4555b615e1fcaf49e}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!set\+Spacing\+Type@{set\+Spacing\+Type}}
\index{set\+Spacing\+Type@{set\+Spacing\+Type}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{set\+Spacing\+Type()}{setSpacingType()}}
{\footnotesize\ttfamily void Q\+C\+P\+Bars\+Group\+::set\+Spacing\+Type (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Spacing\+Type}}}]{spacing\+Type }\end{DoxyParamCaption})}

Sets how the spacing between adjacent bars is interpreted. See \mbox{\hyperlink{class_q_c_p_bars_group_a4c0521120a97e60bbca37677a37075b6}{Spacing\+Type}}.

The actual spacing can then be specified with \mbox{\hyperlink{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}{set\+Spacing}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_bars_group_aa553d327479d72a0c3dafcc724a190e2}{set\+Spacing}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_bars_group_a3780ec77919cb00840207ec7a0f00dd5}\label{class_q_c_p_bars_group_a3780ec77919cb00840207ec7a0f00dd5}} 
\index{Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}!size@{size}}
\index{size@{size}!Q\+C\+P\+Bars\+Group@{Q\+C\+P\+Bars\+Group}}
\subsubsection{\texorpdfstring{size()}{size()}}
{\footnotesize\ttfamily int Q\+C\+P\+Bars\+Group\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the number of \mbox{\hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}} plottables that are part of this group. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8h}{qcustomplot.\+h}}\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}}\end{DoxyCompactItemize}
